﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/Admin/Admin_Statistics.master"
    AutoEventWireup="true" CodeBehind="Chart_HardSpace.aspx.cs" Inherits="WebApplication13.WebForm4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <script src="../../Scripts/Admin/jquery-1.6.4.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin/highcharts.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin/gray.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin/Piechart.js" type="text/javascript"></script>
    <center>
    <ul>
        <li>Used Space:<%Response.Write(folderSize); %>
            MB</li>
        <li>Free Space:<%Response.Write(hardSize); %>
            MB</li>
        <li>Total Space:<%Response.Write(hardSize + folderSize);%>MB</li>
    </ul>
    </center>
    <div id="spacechart" style="position: absolute; left: 350px; top: 150px; width: 500px;
        height: 500px">
        <script type="text/javascript">
            var render = 'spacechart';
            var title = 'Hard Space';
            var data = [['Used Space ', <%Response.Write(folderSize); %>], ['Free Space ', <%Response.Write(hardSize); %>]];
            $(document).ready(
   drawPieCharts(render, title, data)
 );
        </script>
    </div>
</asp:Content>
